Skip to content

Add php-format-disable-async-format-buffer-has-modified #733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Mar 8, 2023

If the buffer was modified between the time the file was saved and the timer fired, it makes sense to cancel the formatter invocation to avoid conflicting editor and formatter states.

To make sure your code is formatted by php-format-auto-mode, save and take a break from your keyboard.

fixes #731

@zonuexe zonuexe merged commit 8e874a8 into master Mar 8, 2023
@zonuexe zonuexe deleted the feature/php-format-disable-async-format branch March 8, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant